<%@ page language="java" contentType="text/html;charset=utf-8" pageEncoding="utf-8"%>

<%@ include file="/core/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<%@ include file="/core/adminMeta.jsp"%>
	
	
	</head>
	<body>
		<div id="scrollContent">
			<div class="box2" panelTitle="留言列表" roller="true">
<form name="showTable" method="post" action="admin/info/messageList.shtml">
			<jodd:form scopes="request">
			<table>
				<tr>
					 
					 
					<td>所属会员:</td>
					<td>
						<input type="text" name="memberLoginName" id="memberLoginName" />
					</td>
					<td>状态:</td>
					<td>
						<select id="type" name="type" >
							<option value="">请选择</option>
							<option value="10">未处理</option>
							<option value="20">已处理</option>
						  	
						  	 
						</select>
						 
					</td>
					<td>
						<button type="submit">
							<span class="icon_find">查询</span>
						</button>
					</td>
				</tr>
			</table>
 			</jodd:form>			

				<table class="tableStyle">
					<tr align="center">
						<th>留言编号</th>
						<th>留言标题</th>
						
						<th>当前状态</th>

						<th>提交时间</th>
						<th>留言会员</th>
						 
						<th>操作</th>
					</tr>
	<c:forEach items="${pagination.pageList}"  var="o" >
					<tr align="center">
						<td>${o.id}</td>

						<td style="width: 40%;">${o.title}</td>

						<td>
							<c:if test="${o.type=='10'}"><font color="red">未处理</font></c:if>
							<c:if test="${o.type=='20'}"><font color="blue">已处理</font></c:if>
						</td>
							
						<td>${o.operDate}</td>
						<td>${o.memberLoginName}</td>
						<td class=ap style="text-align: left;">
							<a href="admin/info/messageShow.shtml?id=${o.id}">
								<span class="icon_view">查看</span>
							</a>
						</td>
					</tr>
	</c:forEach>
				</table>
				
			<page:pageControl />
</form>
			</div>
		</div>
	<!--代码高亮end-->
	</body>
</html>